<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="list" checkbox="true" fitColumns="true"
  	 title="实验教材" actionUrl="labMaterialController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="教材编号"  field="no"  hidden="false" query="false"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="教材名称"  field="name"  hidden="false" query="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="出版社"  field="press"  hidden="false"  queryMode="single" query="false"  width="120"></t:dgCol>
   <t:dgCol title="出版时间"  field="publishYear"  hidden="false"  queryMode="group" query="false"  width="120"></t:dgCol>
   <t:dgCol title="作者"  field="author"  hidden="false"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="labMaterialController.do?doDel&id={id}" />
   <t:dgToolBar title="创建教材" icon="icon-add" url="labMaterialController.do?goAdd" funname="add" height="500" width="800"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="labMaterialController.do?goAdd" funname="update" height="500" width="800"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="labMaterialController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>